Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(build): optimize cross-compilation targets in build.zig #24

Merged
merged 11 commits into from
Apr 3, 2024

Conversation

hendriknielaender
Copy link
Owner

@hendriknielaender hendriknielaender commented Jan 24, 2024

Overview

This PR introduces significant improvements to the build.zig script, focusing on the handling of cross-compilation targets. The primary goal is to optimize the build process and enhance code readability and maintainability.

Key Changes

  • Comptime Target Names: Implemented comptime-known target names to ensure efficient and error-free string concatenation.
  • Simplified Executable Setup: Streamlined the process of setting up executables for each cross-compilation target, making the script more concise and easier to follow.

@hendriknielaender hendriknielaender added the enhancement New feature or request label Jan 24, 2024
@hendriknielaender hendriknielaender self-assigned this Feb 4, 2024
@hendriknielaender
Copy link
Owner Author

current blocker ziglang/zig#17462

@hendriknielaender hendriknielaender marked this pull request as ready for review April 3, 2024 19:56
@hendriknielaender hendriknielaender merged commit bd315f4 into main Apr 3, 2024
4 checks passed
@hendriknielaender hendriknielaender deleted the build-artifacts branch May 1, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant